//
//  MLStatus.swift
//  MLWeiBo
//
//  Created by wenxing on 2017/1/9.
//  Copyright © 2017年 Se7venX. All rights reserved.
//

import UIKit
import YYModel

class MLStatus: NSObject,YYModel {
    
    //属性
    ///微博创建时间
    var created_at: String?
    
    //在32位的机型上id的数据会被截断
    var id: Int64 = 0
    
    ///微博信息内容
    var text: String?
    
    ///微博来源
    var source: String?
    
    //微博作者
    var user: MLUser?
    
    //配图视图的模型数组
    var pic_urls: [MLPictureInfo]?
    
    
    
    //转发
    var retweeted_status:MLStatus?
    
    
    static func modelContainerPropertyGenericClass() -> [String : Any]? {
        
        return ["pic_urls":MLPictureInfo.self]
        
    }
    
//    + (NSDictionary *)modelContainerPropertyGenericClass {
//    // value should be Class or Class name.
//    return @{@"shadows" : [Shadow class],
//    @"borders" : Border.class,
//    @"attachments" : @"Attachment" };
//    }
    

}
